guint *out_n_links,
GError **error)
{
- GMarkupParseContext *context = NULL;
+ GMarkupParseContext *context;
const char *p, *end;
gsize length;
UriParserData pdata;
}
else
{
- if (!g_markup_parse_context_parse (context, "<markup>", -1, error))
+ if (!g_markup_parse_context_parse (context, "<markup>", 8, error))
goto failed;
if (!g_markup_parse_context_parse (context, str, length, error))
goto failed;
- if (!g_markup_parse_context_parse (context, "</markup>", -1, error))
+ if (!g_markup_parse_context_parse (context, "</markup>", 9, error))
goto failed;
}